# $Id: PKGBUILD 89905 2013-05-05 14:47:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Max Roder <maxroder@web.de>
# Contributor: Nathan Owe <ndowens.aur at gmail dot com>

pkgname='libhx'
pkgver=3.15
pkgrel=1
pkgdesc='A library providing queue, tree, I/O and utility functions'
arch=('i686' 'x86_64')
url=('http://libhx.sourceforge.net/')
license=('GPL')
depends=()
options=('!libtool')
source=("http://downloads.sourceforge.net/${pkgname}/libHX-${pkgver}.tar.xz")
md5sums=('0165d6aa994a094b2a170d93a48599e0')

build() {
  cd ${srcdir}/libHX-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/libHX-${pkgver}
  make DESTDIR=${pkgdir} install
}
